﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace LyncSilverlightApplication
{
    public partial class MainPage : UserControl
    {
        
        public MainPage()
        {
            InitializeComponent();
        }

        #region "ボタンイベント"
        /// <summary>
        /// 連絡先追加/削除ボタンイベント 
        /// </summary>
        /// <param name="sender">object</param>
        /// <param name="e">RoutedEventArgs</param>
        private void AddContactButton_Click(object sender, RoutedEventArgs e)
        {
            addContactUri addContact = new addContactUri();
            addContact.Show();
        }

        /// <summary>
        /// カスタムグループ追加/削除ボタンイベント
        /// </summary>
        /// <param name="sender">object</param>
        /// <param name="e">RoutedEventArgs</param>
        private void AddCustomGroupButton_Click(object sender, RoutedEventArgs e)
        {
            addCustomGroup addGroup = new addCustomGroup();
            addGroup.Show();
        }

        /// <summary>
        /// カンバセーションボタンイベント  
        /// </summary>
        /// <param name="sender">object</param>
        /// <param name="e">RoutedEventArgs</param>
        private void Conversion_Click(object sender, RoutedEventArgs e) 
        {
            conversation conversation = new conversation();
            conversation.Show();
        }
        #endregion


    }
}
